JavaScript

Enter Code Controlshake Method

Syntax

enterCodeObj.shake()

Description

Triggers the shake animation for an Enter Code Control.

Discussion

The shake() method triggers the Enter Code control's shake animation. The shake animation is used to indicate the value is incorrect.

Example

//get a pointer to your Enter Code control.
var obj = {dialog.object}.getControl('Your_EnterCode_control_name')

obj.shake()

See Also